package com.addplus.townmall.server.web.provider;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ServletComponentScan
@ComponentScan(basePackages = {"com.addplus.townmall.server"})
@EnableTransactionManagement
public class TownMallWebProviderApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(TownMallWebProviderApplication.class)
                .web(WebApplicationType.NONE)
                .run(args);
    }
}
